package com.byxy.service;


import com.byxy.po.Category;

import java.util.List;

public interface CategoryService<Category> {


    int deleteByPrimaryKey(Category key);


    int insert(Category record);

    int insertSelective(Category record);

    Category selectOne(Category record);


    int updateByPrimaryKey(Category record);

    /**
     * 查询全部结果，select(null)方法能达到同样的效果
     */

    List<Category> selectAll();

}
